/**
 * field.name, type, value
 */
function getHtmlByFieldType(field){
	var html = '';
	switch(field.type){
		case htmlType.bigtext:
			html += '<textarea class="field"';
			if(field.val)
				html += ' value="' + field.val +'" readonly="readony" ';
			html += ' />';
		break;
		case htmlType.text:
			html += '<input class="field"';
			if(field.val)
				html += ' value="' + field.val +'"';
			html += ' />';			
		break;
		case htmlType.list:
			html += '';
		break;
	}
	return html;
}

function buildHeadersByObjectType(type){
	
}
